package com.blb.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author ZhengSainan
 * @since 2019-11-21
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("t_warning")
public class Warning extends Model<Warning> {

    private static final long serialVersionUID=1L;

    /**
     * 商品id
     */
    private String productId;

    /**
     * 预警值
     */
    private Integer warningNum;

    /**
     * 仓库id
     */
    private String warehouseId;


    @Override
    protected Serializable pkVal() {
        return null;
    }

}
